package com.dhcc.bpm.modules.safe.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dhcc.bpm.modules.safe.entity.GatewayControl;
import com.dhcc.bpm.modules.safe.vo.GatewayControlVO;
import org.springblade.core.mp.base.BaseService;

/**
 * @ClassName IGatewayControlService
 * @Description 网关访问控制表 服务类
 * @Author daina
 * @Date 2020/2/21 14:16
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 */
public interface IGatewayControlService extends BaseService<GatewayControl> {

    /**
     * @Description 自定义分页
     * @Author daina
     * @Date 15:14 2020/3/26
     * @param page
     * @param gatewayControl
     * @return com.baomidou.mybatisplus.core.metadata.IPage<com.dhcc.bpm.modules.safe.vo.GatewayControlVO>
     **/
    IPage<GatewayControlVO> selectGatewayControlPage(IPage<GatewayControlVO> page, GatewayControlVO gatewayControl);

    /**
     * @Description 更新状态
     * @Author daina
     * @Date 15:14 2020/3/26
     * @param gatewayControl
     * @return int
     **/
    int updateRefreshFlag(GatewayControl gatewayControl);

}
